<?php
require 'Home/Controller/Controller.php ';
//require 'Admin/Model/UserModel.php';
require 'Home/Model/IndexModel.php';
class IndexController extends Controller{
	function __Construct(){
		parent::__Construct();
		$this->model = new IndexModel();
	}
	function index(){
		$getList = $this->model->getList();
		$getVideoType = $this->model->getVideoType();
		$getVideoByHits = $this->model->getVideoByHits();
		$getVideoByDowntimes = $this->model->getVideoByDowntimes();
		//var_dump($data2);
	/*	$this->assign('list',$data1);
		$this->display(); 
		$this->assign('list',$data2);
		$this->display(); 
		$this->assign('list',$data3);
		$this->display(); 
		$this->assign('list',$data4);
		$this->display(); */
		include 'Home/View/Index/index.php';
	}
	/*function getVideoType(){
		$data = $this->model->getVideoType();
		$this->assign('list',$data);
		$this->display(); 
	}*/
	/*function  getVideoByHits(){
		$data = $this->model->getVideoByHits();
		$this->assign('list',$data);
		$this->display(); 
	}*/
	/*function getVideoByDowntimes(){
		$data = $this->model->getVideoByDowntimes();
		$this->assign('list',$data);
		$this->display(); 
	}*/
}
?>